import { Injectable } from '@nestjs/common'
import { PermissionModel } from './permission.model'

@Injectable()
export class PermissionService {
  async findAll() {
    return await PermissionModel.find().select('-__v').exec()
  }
}
